home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-06-05 | 670 b | 36 lines |
- #
- # Makefile for the linux ipc.
- #
- # Note! Dependencies are done automagically by 'make dep', which also
- # removes any old dependencies. DON'T put your own dependencies here
- # unless it's something special (ie not a .c file).
- #
- # Note 2! The CFLAGS definition is now in the main makefile...
-
- # Include the configuration variables
- #
- include ../.config
-
- # Include the make variables
- #
- include ../MakeVars
-
- OBJS = util.o
-
- ifdef CONFIG_SYSVIPC
- OBJS := $(OBJS) msg.o sem.o shm.o
- endif
-
- ipc.o: $(OBJS)
- $(LD) -r -o ipc.o $(OBJS)
-
- dep:
- $(CPP) -M $(INCFLAGS) *.c > .depend
-
- #
- # include a dependency file if one exists
- #
- ifeq (.depend,$(wildcard .depend))
- include .depend
- endif
-